package com.usian.config;

import com.alibaba.druid.pool.DruidDataSource;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class JdbcConfiguration3 {


    @Bean
    @ConfigurationProperties(prefix ="jdbc")
    public DruidDataSource dataSource3(DbProperties dbProperties){
        DruidDataSource dataSource4 = new DruidDataSource();
        return dataSource4;
    }

}
